﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace L2C.Common
{
    public class DBFactory
    {
        public static L2CEntities GetDBContext()
        {
            return new L2CEntities(ConfigurationManager.ConnectionStrings["L2CEntities"].ToString());
        }
    }
    
}